<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>新建解析</title>
    <link rel="stylesheet" href="../../css/mdui.css">
    <link rel="stylesheet" href="../../css/main.css">
</head>

<body class="mdui-appbar-with-toolbar mdui-color-grey-50">

    <!-- 顶部导航栏 -->
    <header>
        <div class="mdui-appbar mdui-appbar-fixed mdui-appbar-scroll-toolbar-hide">
            <div class="mdui-toolbar mdui-color-deep-purple">
                <a href="./index.html" class="mdui-btn mdui-btn-icon"><i class="mdui-icon material-icons">arrow_back</i></a>
                <a href="javascript:;" class="mdui-typo-title">操作系统学习平台</a>
                <div class="mdui-toolbar-spacer"></div>
                <span class="mdui-btn mdui-btn-icon mdui-ripple mdui-ripple-white">
                    <i class="mdui-icon material-icons">notifications</i>
                </span>
                <span class="mdui-btn mdui-btn-icon mdui-ripple mdui-ripple-white" mdui-menu="{target: '#login-menu'}">
                    <i class="mdui-icon material-icons">account_circle</i>
                </span>
                <!-- 小菜单 -->
                <ul class="mdui-menu mdui-menu-cascade mdui-menu-cascade-custom" id="login-menu">
                    <li class="mdui-menu-item">
                        <div class="mdui-row mdui-valign">
                            <div class="mdui-col-md-3 mdui-m-l-3">
                                <div class="user-head-img mdui-img-circle" style="background: url(../../images/touxiang1.jpg);"></div>
                            </div>
                            <div class="mdui-col-md-7 mdui-typo">
                                <div>姓名：李老师</div>
                                <div>工号：91145</div>
                            </div>
                        </div>
                    </li>
                    <li class="mdui-divider"></li>
                    <li class="mdui-menu-item">
                        <a href="javascript:;" class="mdui-ripple">
                            <i class="mdui-menu-item-icon mdui-icon material-icons">notifications_none</i>我的通知
                        </a>
                        <a href="javascript:;" class="mdui-ripple">
                            <i class="mdui-menu-item-icon mdui-icon material-icons">chat_bubble_outline</i>我的留言
                        </a>
                        <a href="javascript:;" class="mdui-ripple">
                            <i class=" mdui-menu-item-icon mdui-icon material-icons">settings</i>设置
                        </a>
                        <a href="javascript:;" class="mdui-ripple">
                            <i class=" mdui-menu-item-icon mdui-icon material-icons">exit_to_app</i>登出
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </header>
    <!-- 顶部导航栏结束 -->

    <article class="mdui-container">
        <p></p>
        <div class="mdui-typo">
            <h5>新建解析</h5>
        </div>

        <div class="mdui-shadow-1 mdui-color-white mdui-p-a-3">

            <!-- 解析标题区域 -->
            <div class="mdui-textfield ">
                <label class="mdui-textfield-label">请输入标题</label>
                <input class="mdui-textfield-input" type="text" required/>
                <div class="mdui-textfield-error">标题不能为空</div>
            </div>


            <div class="mdui-p-a-2"></div>
            <!-- 填写作业要求区域 -->
            <form method="post">
                <textarea id="mytextarea">Hello, World!</textarea>
            </form>

            <div class="mdui-row mdui-m-y-2 mdui-clearfix">
                <button class="mdui-btn mdui-color-indigo-accent mdui-ripple">取消</button>
                <a href="javascript:alert(tinyMCE.activeEditor.getContent() );">
                    <button class="mdui-btn mdui-color-indigo-accent mdui-ripple">发布</button>
                </a>
            </div>


        </div>

    </article>


    <!-- 底部页脚 -->
    <footer class="mdui-container-fluid mdui-text-center mdui-m-t-2">
        <div class="mdui-bottom-nav">
            <p class="mdui-ripple mdui-container-fluid mdui-valign">Copyright © 2019 北京交通大学海滨学院</p>
        </div>
    </footer>

    <script src="../../js/mdui.js"></script>

    <!-- 加载编辑器 -->
    <script src="../../Tinymce/js/tinymce.min.js"></script>
    <script>
        tinymce.init({
            selector: '#mytextarea',
            language: 'zh_CN',
            height: 600,
            plugins: "image",
            toolbar: "image"
        });
    </script>
</body>

</html>